package hu.veilingsite.shared;

import java.io.Serializable;
import java.sql.Date;

@SuppressWarnings("serial")
public class Bid implements Serializable {
	private int id, user_id, auction_id, credits;
	private Date date;
	
	public Bid() {
		//no-arg constructor
	}
	
	public Bid(int id,int uid,int aid,int cr,Date dt) {
		this.id = id;
		user_id = uid;
		auction_id = aid;
		credits = cr;
		date = dt;
	}
	
	public int getAuction_id() {
		return auction_id;
	}
	public void setAuction_id(int auctionId) {
		auction_id = auctionId;
	}
	public int getCredits() {
		return credits;
	}
	public void setCredits(int credits) {
		this.credits = credits;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getUser_id() {
		return user_id;
	}
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}
	public java.sql.Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
}
